package com.aabte.design.pattern.structural.facade;

public class Test {

    public static void main(String[] args) {

        /*
           外观模式，应用层不能与子系统直接发生交互
         */
        PointsGift pointsGift = new PointsGift("Note8");

        GiftExchangeService giftExchangeService = new GiftExchangeService();

        giftExchangeService.giftExchange(pointsGift);

    }

}
